﻿using System;

class Print52cards

            // Write a program that prints all possible cards from a standard deck of 52 cards (without jokers). 
            // The cards should be printed with their English names. Use nested for loops and switch-case.

{
    static void Main()
    {
        for (int color = 1; color < 5; color++)
        {
            for (int card = 2; card < 16; card++)
            {
                switch (color)
                {
                    case 1:
                        Console.WriteLine("Spades");
                        break;
                    case 2:
                        Console.WriteLine("Hearts");
                        break;
                    case 3:
                        Console.WriteLine("Diamonds");
                        break;
                    case 4:
                        Console.WriteLine("Clubs");
                        break;
                    default:
                        Console.WriteLine("ivalid");
                        break;
                }
                switch (card)
                {
                    case 2:
                        Console.Write("Two of ");
                        break;
                    case 3:
                        Console.Write("Three of ");
                        break;
                    case 4:
                        Console.Write("Four of ");
                        break;
                    case 5:
                        Console.Write("Five of ");
                        break;
                    case 6:
                        Console.Write("Six of ");
                        break;
                    case 7:
                        Console.Write("Seven of ");
                        break;
                    case 8:
                        Console.Write("Eight of ");
                        break;
                    case 9:
                        Console.Write("Nine of ");
                        break;
                    case 10:
                        Console.Write("Ten of ");
                        break;
                    case 11:
                        Console.Write("Jack of ");
                        break;
                    case 12:
                        Console.Write("Queen of ");
                        break;
                    case 13:
                        Console.Write("King of ");
                        break;
                    case 14:
                        Console.Write("Ace of ");
                        break;
                    case 15:
                        Console.WriteLine("");
                        break;
                    default:
                        Console.Write("ivalid");
                        break;
                }
            }
        }
    }
}

